<template>
  <section class="evidence-section">
    <div class="evidence-container">
      <h2 class="section-title">版权登记</h2>
      <p class="section-subtitle">专业版权登记服务，让创作权益得到全面保障</p>
      
      <div class="evidence-content">
        <div class="evidence-info">
          <p class="evidence-desc">
            提供作品著作权、软件著作权及数据知识产权全类目登记服务‌，支持获取国家版权局、省版权局权威证书及知识产权保护中心数据认证‌。创新集成区块链存证技术，确保权属可追溯、防篡改‌。依托十年行业经验与AI智能系统，实现极速审核，最快当天完成登记并下证，助力用户高效确权‌。
          </p>
          <div class="feature-list">
            <div class="feature-item">
              <img src="@/assets/homeimg/cz1.png" alt="全类覆盖" />
              <h3>全类覆盖</h3>
              <p>涵盖作品著作权、软件著作权、数据知识产权等全类目登记服务‌</p>
            </div>
            <div class="feature-item">
              <img src="@/assets/homeimg/cz2.png" alt="行政与司法认可" />
              <h3>权威认证</h3>
              <p>支持获取国家/省级版权局证书、知识产权保护中心数据认证，权属证明效力强‌</p>
            </div>
            <div class="feature-item">
              <img src="@/assets/homeimg/cz3.png" alt="物超所值" />
              <h3>技术保障</h3>
              <p>区块链存证技术固化权属信息，实现可追溯、防篡改‌</p>
            </div>
            <div class="feature-item">
              <img src="@/assets/homeimg/cz4.png" alt="区块链防篡改" />
              <h3>高效确权</h3>
              <p>十年经验结合AI智能系统，最快当天完成审核发证‌</p>
            </div>
          </div>
          <el-button 
            type="primary" 
            class="evidence-btn" 
            @click="handleEvidence"
          >
            立即登记
          </el-button>
        </div>
        <img 
          class="evidence-image" 
          src="@/assets/homeimg/bqcz.png" 
          alt="版权存证"
        />
      </div>
    </div>
  </section>
</template>

<script>
import { defineComponent } from 'vue'
import { useRouter } from 'vue-router'

export default defineComponent({
  name: 'CopyrightEvidence',

  setup() {
    const router = useRouter()

    const handleEvidence = () => {
      router.push('/copyrightRegistration/evidence')
    }

    return {
      handleEvidence
    }
  }
})
</script>

<style lang="scss" scoped>
.evidence-section {
  width: 100%;
  background: linear-gradient(to right, #f8f9fc, #f0f5fa);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(83, 183, 215, 0.1) 0%, rgba(83, 183, 215, 0) 70%);
    z-index: 0;
  }

  .evidence-container {
    width: $container-width;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .section-title {
    font-size: 36px;
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    
    &::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: linear-gradient(to right, $primary-color, lighten($primary-color, 15%));
    }
  }

  .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 30px auto;
    max-width: 600px;
  }

  .evidence-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }

  .evidence-info {
    width: 560px;
  }

  .evidence-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
  }

  .feature-item {
    width: 130px;
    text-align: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      
      img {
        transform: scale(1.1);
        box-shadow: 0 10px 20px rgba(83, 183, 215, 0.15);
      }
      
      h3 {
        color: $primary-color;
      }
    }

    img {
      width: 60px;
      height: 60px;
      margin-bottom: 15px;
      border-radius: 50%;
      padding: 10px;
      background-color: white;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    h3 {
      font-size: 18px;
      color: #333;
      font-weight: 600;
      margin-bottom: 10px;
      transition: color 0.3s ease;
    }

    p {
      font-size: 14px;
      color: #666;
      line-height: 1.5;
    }
  }

  .evidence-btn {
    padding: 14px 48px;
    background: $primary-color;
    border-color: $primary-color;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 8px;
    letter-spacing: 1px;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.7s ease;
      z-index: -1;
    }

    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 7px 15px rgba(83, 183, 215, 0.3);
      background: darken($primary-color, 5%);
      border-color: darken($primary-color, 5%);
      
      &::before {
        left: 100%;
      }
    }
    
    &:active {
      transform: translateY(0);
      box-shadow: 0 3px 8px rgba(83, 183, 215, 0.3);
    }
  }

  .evidence-image {
    width: 450px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    
    &:hover {
      transform: translateY(-10px) rotate(1deg);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
  }

  @media screen and (max-width: 1200px) {
    .evidence-container {
      width: 90%;
    }
    
    .evidence-info {
      width: 50%;
    }
    
    .evidence-image {
      width: 45%;
    }
  }

  @media screen and (max-width: 768px) {
    padding: 60px 0;
    
    .section-title {
      font-size: 28px;
      
      &::after {
        width: 50px;
      }
    }
    
    .evidence-container {
      width: 90%;
      padding: 0;
    }

    .evidence-content {
      flex-direction: column;
    }

    .evidence-info {
      width: 100%;
    }
    
    .evidence-desc {
      font-size: 15px;
    }

    .evidence-image {
      width: 100%;
      max-width: 400px;
      margin-top: 40px;
    }

    .feature-list {
      margin: 30px 0;
    }

    .feature-item {
      width: 45%;
      margin-bottom: 25px;
      
      h3 {
        font-size: 16px;
      }
      
      p {
        font-size: 13px;
      }
    }
    
    .evidence-btn {
      padding: 12px 40px;
      font-size: 15px;
      display: block;
      margin: 0 auto;
    }
  }
}
</style> 